package com.hs.wa.dao;

import com.hs.wa.entity.RuleEmployee;
import com.hs.wa.entity.RuleEmployeeCondition;
import com.hs.wa.entity.RuleEmployeeKey;

import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RuleEmployeeMapper {
    long countByExample(RuleEmployeeCondition example);

    int deleteByExample(RuleEmployeeCondition example);

    int deleteByPrimaryKey(RuleEmployeeKey key);

    int insert(RuleEmployee record);

    int insertSelective(RuleEmployee record);

    List<RuleEmployee> selectByExample(RuleEmployeeCondition example);

    RuleEmployee selectByPrimaryKey(RuleEmployeeKey key);

    int updateByExampleSelective(@Param("record") RuleEmployee record, @Param("example") RuleEmployeeCondition example);

    int updateByExample(@Param("record") RuleEmployee record, @Param("example") RuleEmployeeCondition example);

    int updateByPrimaryKeySelective(RuleEmployee record);

    int updateByPrimaryKey(RuleEmployee record);
}